package me.shiqiang.im.microservice;

import me.shiqiang.im.microservice.returnobj.BooleanReturnObj;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by John on 2018/7/25
 */
@FeignClient(name = "service-offline-data-center-user-tag")
@RequestMapping("/offline-data-center/user-tag")
public interface UserTagClient {

    @GetMapping("/{id}/is-premium-distributor")
    BooleanReturnObj isPremiumDistributor(@PathVariable("id") Long id);

}
